package cn.com.cbj.entity;

import java.io.Serializable;
/**
 *实体对象信息
 * @Author:debug (SteadyJack)
 **/
public class EventInfo implements Serializable {
    private Integer id;                            //id标识
    private String module;                         //模块
    private String name;                           //名称
    private String desc;                           //描述

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    //空的默认构造方法
    public EventInfo() {
    }

    //包含全部字段的构造方法
    public EventInfo(Integer id, String module, String name, String desc) {
        this.id = id;
        this.module = module;
        this.name = name;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "EventInfo{" +
                "id=" + id +
                ", module='" + module + '\'' +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}

